package one.stand.service;

import one.stand.model.ResultModel;
import one.stand.request.SeeRecordRequest;
import one.stand.response.CrmCustomerAnalysisRespnse;
import one.stand.response.CrmSeeRecordResponse;

import java.util.List;
import java.util.Map;

/**
 * @author Administrator
 */
public interface SeeRecordService {

    /**
     * 客户分析
     *
     * @param request
     * @return
     */
    ResultModel customerAnalysis(SeeRecordRequest request);

    /**
     * 名片查看记录
     *
     * @param request
     * @return
     */
    ResultModel<List<CrmSeeRecordResponse>> getSeeRecordList(SeeRecordRequest request);

    /**
     * 客户兴趣统计
     *
     * @param request
     * @return
     */
    ResultModel<List<CrmCustomerAnalysisRespnse>> countCustomerAnalysis(SeeRecordRequest request);

    /**
     * CRM-PC端首页统计
     *
     * @param request
     * @return
     */
    ResultModel<Map<String, Object>> getPcCount(SeeRecordRequest request);

    /**
     * CRM-PC端首页转化率漏斗
     *
     * @param request
     * @return
     */
    ResultModel<Map<String, Object>> getChangeCount(SeeRecordRequest request);
}
